<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!DOCTYPE html>

<html>

	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>管理后台</title>
		<style>
			#deallist a{color: #000000;text-decoration: none;}
		</style>
		<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
		<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
		<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
		<script>
		function toUrl(u,i){
			u = u.substring(1);
			if($('#mainFrm').tabs('exists',i)){
				$('#mainFrm').tabs('select',i);
			}else{
				$('#mainFrm').tabs('add',{
				    title:i,
				    content:'<iframe src="'+u+'" width="100%" height="100%" frameborder="0"></iframe>',
				    closable:true
				});
			}
			
		}
		function chTheme (t) {
		  $('#theme').attr('href','js/easyui/themes/'+t+'/easyui.css');
		}
		$(function(){
			$('#tt').tree({
			    url:'auth/space/getMenuUrlsJson',
				onClick: function(node){
					toUrl(node.id,node.text);
				}
			});
		});
	</script>
	</head>
<body class="easyui-layout">
	<div region="north" style="overflow:hidden;height:80px;">
			<div style="height:80px;width:100%;padding-top:10px;padding-right:50px;text-align: right;">
				欢迎您，admin！今天是【2012-07-28】
				<a href="auth/login/logout" style="text-decoration: none;">【退出】</a>
			</div>
	</div>
		<div region="west" split="true" title="管理系统" style="width:230px;padding:5px;overflow:auto;">
			<ul id="tt"></ul>
		</div>
		<div region="center" title="" style="overflow:hidden;">
			<div id="mainFrm" fit="true" border="false" class="easyui-tabs">
				<div title="首页" style="padding:20px;overflow:hidden;"> 
					<div style="margin-top:20px;">
						<h1 style="border-bottom: 1px solid #ccc;padding-bottom: 10px;">欢迎使用后台管理系统</h1>
						<h3>系统信息：</h3>
						<p>ET-MVC</p>
						<h3>版本:1.0</h3>
						<p>滨州信息网 第三版</p>
						<h3>技术支持:</h3>
						<p>王守文 wsw.h@163.com</p>
					</div>
				</div>
			</div>
		</div>
</body>
</html>